Skip to main content

Add Event

AutomatR.GoogleCalendar.Activities.AddEvent

The "Add Event" activity in AutomatR is part of the Google Calendar activities package, providing the capability to add an event to a specified Google Calendar. This activity streamlines the process of scheduling events, allowing you to define details such as event name, description, attendees, start time, end time, and time zone.

Properties

NameDescription
Input
Attendee ListSpecifies a list of email IDs for attendees to be added to the event. Comma-separated string variables containing email addresses.
Calendar NameSpecifies the name of the calendar in which you want to add an event. String variables containing the calendar name. This is a required field.
DescriptionProvides a description for the event that you want to display to the user. String variables containing the event description. This is a required field.
End TimeSpecifies the end time for the event. DateTime variables containing the end time. This is a required field.
Event NameSpecifies the name of the event that you want to assign and display to the user. String variables containing the event name. This is a required field.
Start TimeSpecifies the start time for the event. DateTime variables containing the start time. This is a required field.
Time ZoneSelects a timezone from the dropdown according to your requirements. Enum variable containing the time zone. This is a required field and support the following Time Zone options: UTC, PacificStandardTime, EasternStandardTime, CentralStandardTime, MountainStandardTime, IndiaStandardTime, JapanStandardTime, ChinaStandardTime and AustraliaEasternStandardTime.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

Validation

The activity performs validation checks on inputs, ensuring that essential fields such as Calendar Name, Description, Start Time, End Time, and Time Zone are provided.

How to use:

  1. Drag and drop the "Add Event" activity onto the workflow.
  2. Configure the properties by providing the necessary details such as Calendar Name, Event Name, Description, Attendee List, Start Time, End Time, and Time Zone.
  3. Optionally, configure the delay before starting the activity.
  4. Execute the workflow to add the specified event to the Google Calendar.

Example:

Consider an example where the "Add Event" activity is used to schedule a meeting named "Team Sync" with the following details:

Add Event:
Calendar Name: "Team Calendar"
Event Name: "Team Sync"
Description: "Monthly team synchronization meeting"
Attendee List: "john@example.com, jane@example.com"
Start Time: "2023-01-10 14:00:00"
End Time: "2023-01-10 15:30:00"
Time Zone: EasternStandardTime
Delay: 2

In this example, the activity schedules a meeting named "Team Sync" in the "Team Calendar" with a description, specified attendees, start time, and end time. The time zone is set to Eastern Standard Time, and there is a delay of 2 seconds before starting the activity.